package com.fuqi.android.zhongcai.business.shuig.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.business.shuig.request.result.OrderCommentResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  获取订单评论接口
* */


public class OrderCommentApi extends AbsRequest<OrderCommentApi.OrderCommentParams, OrderCommentResult> {

    public OrderCommentApi(OrderCommentParams orderCommentParams, Listener<OrderCommentResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getOrderCommentUrl(), orderCommentParams, listener, errorListener, OrderCommentResult.class);
    }

    public static class OrderCommentParams extends BaseParams {

        public OrderCommentParams(String orderId) {

                put("ORDER_ID", orderId);

        }
    }


}
